package com.gift.vo;

import com.gift.pojo.AccByDea;
import com.gift.pojo.DealTable;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
@Setter
@Getter
@Builder
@ToString

public class DelAndAccVO extends DealTable {

    private List<AccByDea> accByDealtList;

    public DelAndAccVO(Integer did, String gname, Integer gid, BigDecimal sellingscore, BigDecimal giftscore, BigDecimal buyscore, BigDecimal proportion, BigDecimal helpscore, String helpedname, Integer helpeduid, Integer shift, Integer handlerid, String handlers, String remark, LocalDateTime createtime, LocalDateTime modifytime) {
        super(did, gname, gid, sellingscore, giftscore, buyscore, proportion, helpscore, helpedname, helpeduid, shift, handlerid, handlers, remark, createtime, modifytime);
    }

    public DelAndAccVO(List<AccByDea> accByDealtList) {
        this.accByDealtList = new ArrayList<>();
    }
}
